package com.mvc.dao;

import com.mvc.entity.Role;
import org.apache.ibatis.session.RowBounds;

import java.util.List;
import java.util.Map;

public interface RoleDAO {
    public Role getRole(Long id);
    public int deleteRole(Long id);
    public int insertRole(Role role);
    public List<Role> findRoleByMap(Map<String, String> params);

    public List<Map> findRoleByMap(Map<String, String> params, RowBounds rowBounds);
}
